object t2 {
  def countGuangzhouNumbers(numbers: List[String]): Int = {
    numbers.count(_.startsWith("020"))
  }

  def main(args: Array[String]): Unit = {
    val numbers = List("020-12345678", "13912345678", "020-87654321", "0755-2345678")
    println(s"Guangzhou number count: ${countGuangzhouNumbers(numbers)}") // 输出：2
  }
}
